package com.example.interfacedesign;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

public class UC1 extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_uc1);

        Button button_uc11=findViewById(R.id.button_11);
        Button button_uc12=findViewById(R.id.button_12);
        Button button_uc13=findViewById(R.id.button_13);
        Button button_return=findViewById(R.id.button_return);

        button_uc11.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(UC1.this,UC1_1.class);
                startActivity(intent);
            }
        });

        button_uc12.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(UC1.this,UC1.class);
                startActivity(intent);
            }
        });

        button_uc13.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(UC1.this,UC1_2.class);
                startActivity(intent);
            }
        });

        button_return.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(UC1.this,MainActivity.class);
                startActivity(intent);
            }
        });
    }

}
